// 驼峰转分割线
function toLine(name) {
  return name.replace(/([A-Z])/g,"-$1").toLowerCase();
}

exports.toLine = toLine